package com.user.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 官网图片
 * </p>
 *
 * @author rick
 * @since 2022-12-13 11:23:15
 */
@Getter
@Setter
@TableName("wk_admin_official_img")
@ApiModel(value = "AdminOfficialImg对象", description = "官网图片")
public class AdminOfficialImg implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "official_img_id", type = IdType.AUTO)
    private Integer officialImgId;

    @ApiModelProperty("附件大小（字节）")
    @TableField("size")
    private Long size;

    @ApiModelProperty("创建人ID")
    @TableField("create_user_id")
    private Long createUserId;

    @ApiModelProperty("创建时间")
    @TableField("create_time")
    private LocalDateTime createTime;

    @ApiModelProperty("文件真实路径")
    @TableField("path")
    private String path;

    @ApiModelProperty("文件路径")
    @TableField("file_path")
    private String filePath;

    @ApiModelProperty("1.官网设置 2.名片海报")
    @TableField("type")
    private Integer type;

    @TableField("name")
    private String name;

    @ApiModelProperty("0")
    @TableField("tactic")
    private Integer tactic;


}
